/**
 * @file HallSensorData.h
 * @author  
 * @brief 磁传感器数据类型
 * @version 1.0
 * @date 2020-07-23
 * 
 * @copyright Copyright (c) 2020
 * 
 */

#pragma once
#include <cstdint>

namespace behavior_controller
{
    enum HallSensorId
    {
        BACK_LEFT = 1, //
        FRON_LEFT = 2, //
        FRON_RIGH = 3, //
        BACK_RIGH = 4, //
    };

    class HallSensorData
    {
    public:
        HallSensorData(){};
        HallSensorData(uint8_t hall_sensor_id) : hall_sensor_id_(hall_sensor_id){};

        /**
         * @brief 获取霍尔传感器二进制数据
         * @return
         */
        uint8_t GetHallSensorBit() const
        {
            return hall_sensor_id_;
        }

    private:
        uint8_t hall_sensor_id_; //霍尔传感器位数据
    };
} // namespace behavior_controller